package com.yang.crawler.api;

import com.yang.crawler.CrawlArticleCommand;
import com.yang.crawler.CrawlColumnCommand;
import com.yang.crawler.common.Response;
import com.yang.crawler.dto.data.ArticleDTO;
import com.yang.crawler.dto.data.ColumnDTO;

public interface CrawlArticleService {
    Response<ColumnDTO> crawlArticlesOfColumn(CrawlColumnCommand crawlColumnCommand);

    Response<ArticleDTO> crawlArticle(CrawlArticleCommand crawlArticleCommand);
}
